﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace vpn
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            if (Utils.IsWindows7 || Utils.IsWindowsVista)
            {
                Utils.StartProcess("./ForWin7/UtilsForWin7.exe");
            }
            else if (Utils.IsWindowsXP)
            {
                Utils.StartProcess("./ForXP/UtilsForXP.exe");
            }
            else
                MessageBox.Show("Unsupported OS");
                
        }
    }
}
